home *** CD-ROM | disk | FTP | other *** search
/ Zoom 2 / Zoom - Release 2 (1996)(Active Software)[!].iso / utilities / cli / vark / cli_tools2 / cli2.dms / cli2.adf / CLI / AGATest.Doc next >
Encoding:
Text File  |  1996-04-25  |  1.6 KB  |  46 lines

  1. IMPORTANT NOTE
  2. ==============
  3.  
  4. IN ORDER TO GET THESE TWO PROGRAMS TO WORK PROPERLY, YOU FIRST HAVE TO
  5. SWITCH ON AGA BY TYPING :
  6.  
  7. SETPATCH QUIET
  8.  
  9. AT THE "ENTER FILENAME : " PROMPT
  10.  
  11. Here are two little programs that show all 2^24 colors on an
  12. AGA HAM8 screen without ever changing the 64 base color registers.
  13.  
  14. gtest was the first attempt (people should not run gtest unless they first
  15. study the code to see how to exit :-).  gtest2 is the program that should
  16. interest most users.  Full source code is included with both programs.
  17.  
  18. There is also an example use of the display database in gtest2.
  19. Hopefully this example will stir commercial developers to support
  20. the display database in their programs.
  21.  
  22. This code, except the ListRequest () routine, is PD.  Donated to
  23. the public domain by the author, Loren J. Rittle <rittle@comm.mot.com>.
  24. Have fun with it, but please don't claim this work as your own.  As it
  25. is PD, please feel free to take any pieces to your own projects.
  26.  
  27. ListRequest() originally by Willy Langeveld, October 1991.
  28. Changes for this project by myself.
  29. Willy gave me permission to include this code with another
  30. package.  As it is quite useful, I have included it here in
  31. another form.  Thanks Willy!
  32.  
  33. Thanks to Chris Green (of Commodore) for:
  34. LoadRGB32 (struct ViewPort *, unsigned long *table);
  35. #pragma libcall GfxBase LoadRGB32 372 9802
  36.  
  37. Let's hope that more entry points are revealed on UseNet to tide us
  38. over until the real includes are available...
  39. For example, I'd like the pragma info on the system calls that allow
  40. me to do double bufferred animation under the OS... :-)
  41.  
  42. Enjoy!
  43.  
  44. Loren J. Rittle <rittle@comm.mot.com>
  45. Fri Nov 20 00:34:04 1992
  46.